package com.zx.entity;


import java.util.Date;

public class News {

  private int nid;
  private String npeople;
  private String ntitle;
  private String ntype;
  private java.util.Date ndate;
  private String nmsg;

  public News(int nid, String npeople, String ntitle, String ntype, Date ndate, String nmsg) {
    this.nid = nid;
    this.npeople = npeople;
    this.ntitle = ntitle;
    this.ntype = ntype;
    this.ndate = ndate;
    this.nmsg = nmsg;
  }

  public News() {
  }

  public int getNid() {
    return nid;
  }

  public void setNid(int nid) {
    this.nid = nid;
  }


  public String getNpeople() {
    return npeople;
  }

  public void setNpeople(String npeople) {
    this.npeople = npeople;
  }


  public String getNtitle() {
    return ntitle;
  }

  public void setNtitle(String ntitle) {
    this.ntitle = ntitle;
  }


  public String getNtype() {
    return ntype;
  }

  public void setNtype(String ntype) {
    this.ntype = ntype;
  }


  public java.util.Date getNdate() {
    return ndate;
  }

  public void setNdate(java.util.Date ndate) {
    this.ndate = ndate;
  }


  public String getNmsg() {
    return nmsg;
  }

  public void setNmsg(String nmsg) {
    this.nmsg = nmsg;
  }

}
